package com.wrk._1_语法._02_运算符;

import java.util.Scanner;

public class _001_简单运算符 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        //输入a
        System.out.println("请输入正整数a:");
        int a = scanner.nextInt();
        //输入b
        System.out.println("请输入正整数b:");
        int b = scanner.nextInt();
        //输出结果
        System.out.println("和:"+(a+b));
        System.out.println("差:"+(a-b));
        System.out.println("积"+(a*b));
        System.out.println("商"+(a/b));
        System.out.println("模"+(a%b));

        scanner.close();
    }
}
